package com.seanLab.domain;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;

import java.io.Serializable;

/**
 * Created by ailly on 17-10-8.
 */

public class UserAuthorization implements Serializable{
    @Id
    private String id;
    @Indexed
    private String appId;
    private String appKey;

    public UserAuthorization() {
    }

    public UserAuthorization(String id, String appId, String appKey) {
        this.id = id;
        this.appId = appId;
        this.appKey = appKey;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }
}
